package com.paradogs.framework.core.queue;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.service.IService;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author: yumi
 * @date: 2023/12/9  20:27
 * @Description: 暂时事务更新
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DBUpdatMsg<T> {

    /**
     * 玩家 ID
     */
    private Long pId;

    /**
     * 操作的 dao
     */
    private IService<T> dao;

    /**
     * dao 对应的 data
     */
    private T data;

}
